<?
global $db,$user;
inc_inclib("query.php");
$users = query2map($db->query("select id,title from users order by title"),"id","title");


$f = array(
	"title"=>array(
		"title"=>"Title",
		"type"=>"default",
		"required"=>1,
		),
	/*	
	"submit_users_id"=>array(
		"title"=>"Submitted By",
		"type"=>"select",
		"options"=>$users,
		"default"=>$uid,
		),
	*/	
	"datetimeon"=>array(
		"title"=>"Date",
		"type"=>"easydatetime",
		"required"=>1,
		),
	
	
	"description"=>array(
		"title"=>"Description",
		"type"=>"textarea",
		#"rows"=>5,
		),
		

	);
return array(
	"fields"=>$f,
	"table"=>"news",
	"title"=>"News",
	"titles"=>"News",
	"field"=>"title",
	"key"=>"id",
	);
?>
